if the short name of button n = line n of card field "answer" then
set the icon of button (n+4) to "Smiley"
add 1 to numRight
else
set the icon of button (n+4) to "Frowney"
end if
show button (n+4)
end repeat
if numRight = 4 then rightSound
end mouseUp
-- part 17 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=347 top=198 right=312 bottom=501
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
select line clickLine() of me
if the selection is "mouseInHouse" or the selection is "mouseTrap"
then rightSound
end mouseUp
-- part 18 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=393 top=64 right=164 bottom=483
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
select line clickLine() of me
if the selection is "il naquit" then rightSound
else wrongSound
end mouseUp
-- part 19 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=254 top=76 right=113 bottom=380
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 20 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=242 top=198 right=264 bottom=342
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 21 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=89 top=125 right=280 bottom=357
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Info
----- HyperTalk script -----
on mouseUp
info
end mouseUp
-- part 22 (button)
-- low flags: 00
-- high flags: 2001
-- rect: left=490 top=320 right=342 bottom=512
-- title width / last selected line: 0
-- icon id / first selected line: 26635 / 26635
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
info
end mouseUp
-- part contents for card part 2
----- text -----
Shape:
-- part contents for card part 3
----- text -----
Arrangement:
-- part contents for card part 4
----- text -----
Type:
-- part contents for card part 5
----- text -----
Venation:
-- part contents for card part 9
----- text -----
Choose the identifying characteristics of the leaves of the
-- part contents for card part 10
----- text -----
Box Elder.
-- part contents for card part 12
----- text -----
ovate
alternate
simple
pinnate
-- part contents for card part 17
----- text -----
mouse
mouseUp
mouseDown
mouseStillDown
mouseEnter
mouseLeave
mouseWithin
mouseInHouse
mouseClick
mouseV
mouseH
mouseTrap
mouseLoc
-- part contents for card part 18
----- text -----
il naît
il naissant
il naquit
il naîtra
il est né
il sera né
-- part contents for card part 19
----- text -----
Choose the correct conjugation:
-- part contents for card part 20
----- text -----
Which are not real HyperTalk messages or functions?
-- part contents for card part 21
----- text -----
Multi-part feedback allows the user to concentrate only on the parts he missed.
Notice that an explanation is given if the user doesn't select an item after activating a pop-up menu. This is VERY important for novice users (and helpful for not-so-novice users who might just click and not notice the pop-up menu).